/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/*
 * Hauptmenue_gen.java
 *
 * Created on 12.04.2011, 09:44:24
 */

package gui.gui_gen;

/**
 *
 * @author d9C
 */
public class Hauptmenue_gen extends javax.swing.JFrame {

    /** Creates new form Hauptmenue_gen */
    public Hauptmenue_gen() {
        initComponents();
    }

    /** This method is called from within the constructor to
     * initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is
     * always regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        jPanel1 = new javax.swing.JPanel();
        tbAnzeige = new javax.swing.JTabbedPane();
        spAzubi = new javax.swing.JSplitPane();
        pAzubi = new javax.swing.JPanel();
        btnSucheAzubi = new javax.swing.JButton();
        jLabel1 = new javax.swing.JLabel();
        txfAzubiname = new javax.swing.JTextField();
        jLabel2 = new javax.swing.JLabel();
        cbKlasse = new javax.swing.JComboBox();
        cbBetrieb = new javax.swing.JComboBox();
        jLabel3 = new javax.swing.JLabel();
        jScrollPane4 = new javax.swing.JScrollPane();
        jScrollPane5 = new javax.swing.JScrollPane();
        tblAzubi = new javax.swing.JTable();
        spAusbilder = new javax.swing.JScrollPane();
        jSplitPane4 = new javax.swing.JSplitPane();
        pAzubi1 = new javax.swing.JPanel();
        btnSucheAusbilder = new javax.swing.JButton();
        jLabel14 = new javax.swing.JLabel();
        txfAusbildername = new javax.swing.JTextField();
        cbAusbilderbetrieb = new javax.swing.JComboBox();
        jLabel16 = new javax.swing.JLabel();
        jScrollPane7 = new javax.swing.JScrollPane();
        tblAusbilder = new javax.swing.JTable();
        spKlasse = new javax.swing.JSplitPane();
        pKlasse = new javax.swing.JPanel();
        jLabel4 = new javax.swing.JLabel();
        txfKlassenname = new javax.swing.JTextField();
        jLabel5 = new javax.swing.JLabel();
        txfKlassenID = new javax.swing.JTextField();
        jLabel6 = new javax.swing.JLabel();
        txfKlassenlehrer = new javax.swing.JTextField();
        btnSuchenKlasse = new javax.swing.JButton();
        jScrollPane2 = new javax.swing.JScrollPane();
        tblKlasse = new javax.swing.JTable();
        spBetrieb = new javax.swing.JSplitPane();
        pBetrieb = new javax.swing.JPanel();
        jLabel7 = new javax.swing.JLabel();
        jLabel8 = new javax.swing.JLabel();
        txfBezeichnung = new javax.swing.JTextField();
        txfOrt = new javax.swing.JTextField();
        btnSuchenbetrieb = new javax.swing.JButton();
        sptblbetrieb = new javax.swing.JScrollPane();
        tblBetrieb = new javax.swing.JTable();
        spLehrer = new javax.swing.JScrollPane();
        jSplitPane1 = new javax.swing.JSplitPane();
        jPanel2 = new javax.swing.JPanel();
        txfLehrername = new javax.swing.JTextField();
        jLabel9 = new javax.swing.JLabel();
        jLabel10 = new javax.swing.JLabel();
        txfLehrerID = new javax.swing.JTextField();
        btnLehrerSuchen = new javax.swing.JButton();
        jScrollPane3 = new javax.swing.JScrollPane();
        tblLehrer = new javax.swing.JTable();
        spKurs = new javax.swing.JScrollPane();
        jSplitPane2 = new javax.swing.JSplitPane();
        jPanel3 = new javax.swing.JPanel();
        jTextField3 = new javax.swing.JTextField();
        jLabel11 = new javax.swing.JLabel();
        jLabel12 = new javax.swing.JLabel();
        jTextField1 = new javax.swing.JTextField();
        btnSucheKurs = new javax.swing.JButton();
        jScrollPane6 = new javax.swing.JScrollPane();
        tblKurs = new javax.swing.JTable();
        spFach = new javax.swing.JScrollPane();
        jSplitPane3 = new javax.swing.JSplitPane();
        jPanel4 = new javax.swing.JPanel();
        txfFachID = new javax.swing.JTextField();
        jLabel13 = new javax.swing.JLabel();
        btnSucheFach = new javax.swing.JButton();
        jScrollPane1 = new javax.swing.JScrollPane();
        tblFach = new javax.swing.JTable();
        Toolbar = new javax.swing.JToolBar();
        btnHinzu = new javax.swing.JButton();
        btnLoeschen = new javax.swing.JButton();
        btnRefresh = new javax.swing.JButton();
        btnSave = new javax.swing.JButton();

        javax.swing.GroupLayout jPanel1Layout = new javax.swing.GroupLayout(jPanel1);
        jPanel1.setLayout(jPanel1Layout);
        jPanel1Layout.setHorizontalGroup(
            jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGap(0, 557, Short.MAX_VALUE)
        );
        jPanel1Layout.setVerticalGroup(
            jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGap(0, 349, Short.MAX_VALUE)
        );

        setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
        setTitle("Azubidatenerfassung");

        tbAnzeige.setTabLayoutPolicy(javax.swing.JTabbedPane.SCROLL_TAB_LAYOUT);
        tbAnzeige.setTabPlacement(javax.swing.JTabbedPane.LEFT);
        tbAnzeige.setAutoscrolls(true);
        tbAnzeige.setCursor(new java.awt.Cursor(java.awt.Cursor.DEFAULT_CURSOR));

        spAzubi.setDividerLocation(50);
        spAzubi.setOrientation(javax.swing.JSplitPane.VERTICAL_SPLIT);
        spAzubi.setAutoscrolls(true);

        pAzubi.setPreferredSize(new java.awt.Dimension(717, 50));

        btnSucheAzubi.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btnSucheAzubiActionPerformed(evt);
            }
        });

        jLabel1.setText("Name:");

        jLabel2.setText("Klasse:");

        jLabel3.setText("Betrieb:");

        javax.swing.GroupLayout pAzubiLayout = new javax.swing.GroupLayout(pAzubi);
        pAzubi.setLayout(pAzubiLayout);
        pAzubiLayout.setHorizontalGroup(
            pAzubiLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, pAzubiLayout.createSequentialGroup()
                .addContainerGap()
                .addComponent(jLabel1)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addComponent(txfAzubiname, javax.swing.GroupLayout.PREFERRED_SIZE, 108, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addGap(18, 18, 18)
                .addComponent(jLabel2)
                .addGap(18, 18, 18)
                .addComponent(cbKlasse, javax.swing.GroupLayout.PREFERRED_SIZE, 122, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addGap(18, 18, 18)
                .addComponent(jLabel3)
                .addGap(18, 18, 18)
                .addComponent(cbBetrieb, 0, 0, Short.MAX_VALUE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(btnSucheAzubi, javax.swing.GroupLayout.PREFERRED_SIZE, 24, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addContainerGap())
        );
        pAzubiLayout.setVerticalGroup(
            pAzubiLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(pAzubiLayout.createSequentialGroup()
                .addContainerGap()
                .addGroup(pAzubiLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                    .addComponent(btnSucheAzubi, javax.swing.GroupLayout.PREFERRED_SIZE, 21, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addGroup(pAzubiLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                        .addComponent(jLabel1)
                        .addComponent(txfAzubiname, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addComponent(jLabel2)
                        .addComponent(cbKlasse, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addComponent(jLabel3)
                        .addComponent(cbBetrieb, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))
                .addContainerGap(17, Short.MAX_VALUE))
        );

        spAzubi.setTopComponent(pAzubi);
        spAzubi.setRightComponent(jScrollPane4);

        tblAzubi.setModel(new javax.swing.table.DefaultTableModel(
            new Object [][] {
                {null, null, null, null},
                {null, null, null, null},
                {null, null, null, null},
                {null, null, null, null}
            },
            new String [] {
                "Title 1", "Title 2", "Title 3", "Title 4"
            }
        ));
        tblAzubi.setAutoResizeMode(javax.swing.JTable.AUTO_RESIZE_OFF);
        jScrollPane5.setViewportView(tblAzubi);

        spAzubi.setRightComponent(jScrollPane5);

        tbAnzeige.addTab("Azubi", spAzubi);

        jSplitPane4.setOrientation(javax.swing.JSplitPane.VERTICAL_SPLIT);

        pAzubi1.setPreferredSize(new java.awt.Dimension(717, 50));

        btnSucheAusbilder.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btnSucheAusbilderActionPerformed(evt);
            }
        });

        jLabel14.setText("Name:");

        jLabel16.setText("Betrieb:");

        javax.swing.GroupLayout pAzubi1Layout = new javax.swing.GroupLayout(pAzubi1);
        pAzubi1.setLayout(pAzubi1Layout);
        pAzubi1Layout.setHorizontalGroup(
            pAzubi1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, pAzubi1Layout.createSequentialGroup()
                .addContainerGap()
                .addComponent(jLabel14)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addComponent(txfAusbildername, javax.swing.GroupLayout.PREFERRED_SIZE, 108, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addGap(41, 41, 41)
                .addComponent(jLabel16)
                .addGap(18, 18, 18)
                .addComponent(cbAusbilderbetrieb, 0, 209, Short.MAX_VALUE)
                .addGap(18, 18, 18)
                .addComponent(btnSucheAusbilder, javax.swing.GroupLayout.PREFERRED_SIZE, 24, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addGap(210, 210, 210))
        );
        pAzubi1Layout.setVerticalGroup(
            pAzubi1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(pAzubi1Layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(pAzubi1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                    .addComponent(btnSucheAusbilder, javax.swing.GroupLayout.PREFERRED_SIZE, 21, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addGroup(pAzubi1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                        .addComponent(jLabel14)
                        .addComponent(txfAusbildername, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addComponent(jLabel16)
                        .addComponent(cbAusbilderbetrieb, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))
                .addContainerGap(18, Short.MAX_VALUE))
        );

        jSplitPane4.setTopComponent(pAzubi1);

        tblAusbilder.setModel(new javax.swing.table.DefaultTableModel(
            new Object [][] {
                {null, null, null, null},
                {null, null, null, null},
                {null, null, null, null},
                {null, null, null, null}
            },
            new String [] {
                "Title 1", "Title 2", "Title 3", "Title 4"
            }
        ));
        jScrollPane7.setViewportView(tblAusbilder);

        jSplitPane4.setRightComponent(jScrollPane7);

        spAusbilder.setViewportView(jSplitPane4);

        tbAnzeige.addTab("Ausbilder", spAusbilder);

        spKlasse.setDividerLocation(50);
        spKlasse.setOrientation(javax.swing.JSplitPane.VERTICAL_SPLIT);

        jLabel4.setText("Klassenname:");

        jLabel5.setText("KlassenID:");

        jLabel6.setText("Klassenlehrer:");

        btnSuchenKlasse.setIcon(new javax.swing.ImageIcon("C:\\DesktopWorkstation\\FIAD\\icon_lupe.png")); // NOI18N
        btnSuchenKlasse.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btnSuchenKlasseActionPerformed(evt);
            }
        });

        javax.swing.GroupLayout pKlasseLayout = new javax.swing.GroupLayout(pKlasse);
        pKlasse.setLayout(pKlasseLayout);
        pKlasseLayout.setHorizontalGroup(
            pKlasseLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(pKlasseLayout.createSequentialGroup()
                .addContainerGap()
                .addComponent(jLabel5)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(txfKlassenID, javax.swing.GroupLayout.PREFERRED_SIZE, 89, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addGap(24, 24, 24)
                .addComponent(jLabel4)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(txfKlassenname, javax.swing.GroupLayout.PREFERRED_SIZE, 89, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addGap(18, 18, 18)
                .addComponent(jLabel6)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addComponent(txfKlassenlehrer, javax.swing.GroupLayout.PREFERRED_SIZE, 89, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addGap(31, 31, 31)
                .addComponent(btnSuchenKlasse, javax.swing.GroupLayout.PREFERRED_SIZE, 24, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addContainerGap(116, Short.MAX_VALUE))
        );
        pKlasseLayout.setVerticalGroup(
            pKlasseLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(pKlasseLayout.createSequentialGroup()
                .addContainerGap()
                .addGroup(pKlasseLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(btnSuchenKlasse, javax.swing.GroupLayout.PREFERRED_SIZE, 21, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addGroup(pKlasseLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                        .addComponent(jLabel4)
                        .addComponent(txfKlassenname, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addComponent(jLabel5)
                        .addComponent(txfKlassenID, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addComponent(jLabel6)
                        .addComponent(txfKlassenlehrer, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))
                .addContainerGap(17, Short.MAX_VALUE))
        );

        spKlasse.setTopComponent(pKlasse);

        tblKlasse.setModel(new javax.swing.table.DefaultTableModel(
            new Object [][] {
                {null, null, null, null},
                {null, null, null, null},
                {null, null, null, null},
                {null, null, null, null}
            },
            new String [] {
                "Title 1", "Title 2", "Title 3", "Title 4"
            }
        ));
        jScrollPane2.setViewportView(tblKlasse);

        spKlasse.setRightComponent(jScrollPane2);

        tbAnzeige.addTab("Klasse", spKlasse);

        spBetrieb.setOrientation(javax.swing.JSplitPane.VERTICAL_SPLIT);

        jLabel7.setText("Bezeichnung:");

        jLabel8.setText("Ort:");

        btnSuchenbetrieb.setIcon(new javax.swing.ImageIcon("C:\\DesktopWorkstation\\FIAD\\icon_lupe.png")); // NOI18N
        btnSuchenbetrieb.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btnSuchenbetriebActionPerformed(evt);
            }
        });

        javax.swing.GroupLayout pBetriebLayout = new javax.swing.GroupLayout(pBetrieb);
        pBetrieb.setLayout(pBetriebLayout);
        pBetriebLayout.setHorizontalGroup(
            pBetriebLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(pBetriebLayout.createSequentialGroup()
                .addContainerGap()
                .addComponent(jLabel7)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addComponent(txfBezeichnung, javax.swing.GroupLayout.PREFERRED_SIZE, 183, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addGap(18, 18, 18)
                .addComponent(jLabel8)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addComponent(txfOrt, javax.swing.GroupLayout.PREFERRED_SIZE, 211, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addGap(51, 51, 51)
                .addComponent(btnSuchenbetrieb, javax.swing.GroupLayout.PREFERRED_SIZE, 24, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addContainerGap(92, Short.MAX_VALUE))
        );
        pBetriebLayout.setVerticalGroup(
            pBetriebLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(pBetriebLayout.createSequentialGroup()
                .addContainerGap()
                .addGroup(pBetriebLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(btnSuchenbetrieb, javax.swing.GroupLayout.PREFERRED_SIZE, 21, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addGroup(pBetriebLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                        .addComponent(jLabel7)
                        .addComponent(jLabel8)
                        .addComponent(txfBezeichnung, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addComponent(txfOrt, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );

        spBetrieb.setTopComponent(pBetrieb);

        tblBetrieb.setModel(new javax.swing.table.DefaultTableModel(
            new Object [][] {
                {null, null, null, null},
                {null, null, null, null},
                {null, null, null, null},
                {null, null, null, null}
            },
            new String [] {
                "Title 1", "Title 2", "Title 3", "Title 4"
            }
        ));
        sptblbetrieb.setViewportView(tblBetrieb);

        spBetrieb.setRightComponent(sptblbetrieb);

        tbAnzeige.addTab("Betrieb", spBetrieb);

        jSplitPane1.setOrientation(javax.swing.JSplitPane.VERTICAL_SPLIT);

        jPanel2.setAutoscrolls(true);

        jLabel9.setText("Name:");

        jLabel10.setText("ID:");

        btnLehrerSuchen.setIcon(new javax.swing.ImageIcon("C:\\DesktopWorkstation\\FIAD\\icon_lupe.png")); // NOI18N
        btnLehrerSuchen.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btnLehrerSuchenActionPerformed(evt);
            }
        });

        javax.swing.GroupLayout jPanel2Layout = new javax.swing.GroupLayout(jPanel2);
        jPanel2.setLayout(jPanel2Layout);
        jPanel2Layout.setHorizontalGroup(
            jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel2Layout.createSequentialGroup()
                .addContainerGap()
                .addComponent(jLabel10)
                .addGap(26, 26, 26)
                .addComponent(txfLehrerID, javax.swing.GroupLayout.PREFERRED_SIZE, 234, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addComponent(jLabel9)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addComponent(txfLehrername, javax.swing.GroupLayout.PREFERRED_SIZE, 231, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addGap(18, 18, 18)
                .addComponent(btnLehrerSuchen, javax.swing.GroupLayout.PREFERRED_SIZE, 24, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addContainerGap(736, Short.MAX_VALUE))
        );
        jPanel2Layout.setVerticalGroup(
            jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel2Layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(btnLehrerSuchen, javax.swing.GroupLayout.PREFERRED_SIZE, 21, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                        .addComponent(jLabel10)
                        .addComponent(txfLehrerID, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addComponent(jLabel9)
                        .addComponent(txfLehrername, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );

        jSplitPane1.setTopComponent(jPanel2);

        tblLehrer.setModel(new javax.swing.table.DefaultTableModel(
            new Object [][] {
                {null, null, null, null},
                {null, null, null, null},
                {null, null, null, null},
                {null, null, null, null}
            },
            new String [] {
                "Title 1", "Title 2", "Title 3", "Title 4"
            }
        ));
        jScrollPane3.setViewportView(tblLehrer);

        jSplitPane1.setRightComponent(jScrollPane3);

        spLehrer.setViewportView(jSplitPane1);

        tbAnzeige.addTab("Lehrer", spLehrer);

        jSplitPane2.setOrientation(javax.swing.JSplitPane.VERTICAL_SPLIT);

        jLabel11.setText("ID:");

        jLabel12.setText("Bezeichnung:");

        btnSucheKurs.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btnSucheKursActionPerformed(evt);
            }
        });

        javax.swing.GroupLayout jPanel3Layout = new javax.swing.GroupLayout(jPanel3);
        jPanel3.setLayout(jPanel3Layout);
        jPanel3Layout.setHorizontalGroup(
            jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel3Layout.createSequentialGroup()
                .addContainerGap()
                .addComponent(jLabel11)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addComponent(jTextField3, javax.swing.GroupLayout.PREFERRED_SIZE, 45, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addGap(18, 18, 18)
                .addComponent(jLabel12)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addComponent(jTextField1, javax.swing.GroupLayout.PREFERRED_SIZE, 133, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addContainerGap(1040, Short.MAX_VALUE))
            .addGroup(jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                .addGroup(jPanel3Layout.createSequentialGroup()
                    .addGap(345, 345, 345)
                    .addComponent(btnSucheKurs, javax.swing.GroupLayout.PREFERRED_SIZE, 24, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addContainerGap(976, Short.MAX_VALUE)))
        );
        jPanel3Layout.setVerticalGroup(
            jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel3Layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel11)
                    .addComponent(jTextField3, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jLabel12)
                    .addComponent(jTextField1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addContainerGap(12, Short.MAX_VALUE))
            .addGroup(jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                .addGroup(jPanel3Layout.createSequentialGroup()
                    .addContainerGap()
                    .addComponent(btnSucheKurs, javax.swing.GroupLayout.PREFERRED_SIZE, 21, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)))
        );

        jSplitPane2.setTopComponent(jPanel3);

        tblKurs.setModel(new javax.swing.table.DefaultTableModel(
            new Object [][] {
                {null, null, null, null},
                {null, null, null, null},
                {null, null, null, null},
                {null, null, null, null}
            },
            new String [] {
                "Title 1", "Title 2", "Title 3", "Title 4"
            }
        ));
        jScrollPane6.setViewportView(tblKurs);

        jSplitPane2.setRightComponent(jScrollPane6);

        spKurs.setViewportView(jSplitPane2);

        tbAnzeige.addTab("Kurs", spKurs);

        jSplitPane3.setOrientation(javax.swing.JSplitPane.VERTICAL_SPLIT);

        jLabel13.setText("FachID:");

        btnSucheFach.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btnSucheFachActionPerformed(evt);
            }
        });

        javax.swing.GroupLayout jPanel4Layout = new javax.swing.GroupLayout(jPanel4);
        jPanel4.setLayout(jPanel4Layout);
        jPanel4Layout.setHorizontalGroup(
            jPanel4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel4Layout.createSequentialGroup()
                .addContainerGap()
                .addComponent(jLabel13)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addComponent(txfFachID, javax.swing.GroupLayout.PREFERRED_SIZE, 84, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addGap(18, 18, 18)
                .addComponent(btnSucheFach, javax.swing.GroupLayout.PREFERRED_SIZE, 24, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addContainerGap(1161, Short.MAX_VALUE))
        );
        jPanel4Layout.setVerticalGroup(
            jPanel4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel4Layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(jPanel4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                    .addComponent(btnSucheFach, javax.swing.GroupLayout.PREFERRED_SIZE, 21, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addGroup(jPanel4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                        .addComponent(jLabel13)
                        .addComponent(txfFachID, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );

        jSplitPane3.setTopComponent(jPanel4);

        tblFach.setModel(new javax.swing.table.DefaultTableModel(
            new Object [][] {
                {null, null, null, null},
                {null, null, null, null},
                {null, null, null, null},
                {null, null, null, null}
            },
            new String [] {
                "Title 1", "Title 2", "Title 3", "Title 4"
            }
        ));
        jScrollPane1.setViewportView(tblFach);

        jSplitPane3.setRightComponent(jScrollPane1);

        spFach.setViewportView(jSplitPane3);

        tbAnzeige.addTab("Fach", spFach);

        Toolbar.setRollover(true);
        Toolbar.setAlignmentX(0.0F);

        btnHinzu.setIcon(new javax.swing.ImageIcon("C:\\DesktopWorkstation\\FIAD\\icon-plus.png")); // NOI18N
        btnHinzu.setFocusable(false);
        btnHinzu.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);
        btnHinzu.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM);
        Toolbar.add(btnHinzu);

        btnLoeschen.setIcon(new javax.swing.ImageIcon("C:\\DesktopWorkstation\\FIAD\\minus-icon.png")); // NOI18N
        btnLoeschen.setFocusable(false);
        btnLoeschen.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);
        btnLoeschen.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM);
        Toolbar.add(btnLoeschen);

        btnRefresh.setIcon(new javax.swing.ImageIcon("C:\\DesktopWorkstation\\FIAD\\Refresh-icon.png")); // NOI18N
        btnRefresh.setFocusable(false);
        btnRefresh.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);
        btnRefresh.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM);
        Toolbar.add(btnRefresh);

        btnSave.setIcon(new javax.swing.ImageIcon("C:\\DesktopWorkstation\\FIAD\\save.png")); // NOI18N
        btnSave.setFocusable(false);
        btnSave.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);
        btnSave.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM);
        Toolbar.add(btnSave);

        javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
        getContentPane().setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(tbAnzeige, javax.swing.GroupLayout.DEFAULT_SIZE, 760, Short.MAX_VALUE)
            .addComponent(Toolbar, javax.swing.GroupLayout.DEFAULT_SIZE, 760, Short.MAX_VALUE)
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()
                .addComponent(Toolbar, javax.swing.GroupLayout.PREFERRED_SIZE, 29, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(tbAnzeige, javax.swing.GroupLayout.DEFAULT_SIZE, 554, Short.MAX_VALUE))
        );

        pack();
    }// </editor-fold>//GEN-END:initComponents

    private void btnSuchenKlasseActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnSuchenKlasseActionPerformed
        // TODO add your handling code here:
}//GEN-LAST:event_btnSuchenKlasseActionPerformed

    private void btnSucheAzubiActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnSucheAzubiActionPerformed
        // TODO add your handling code here:
}//GEN-LAST:event_btnSucheAzubiActionPerformed

    private void btnSuchenbetriebActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnSuchenbetriebActionPerformed
        // TODO add your handling code here:
    }//GEN-LAST:event_btnSuchenbetriebActionPerformed

    private void btnLehrerSuchenActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnLehrerSuchenActionPerformed
        // TODO add your handling code here:
    }//GEN-LAST:event_btnLehrerSuchenActionPerformed

    private void btnSucheKursActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnSucheKursActionPerformed
        // TODO add your handling code here:
    }//GEN-LAST:event_btnSucheKursActionPerformed

    private void btnSucheFachActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnSucheFachActionPerformed
        // TODO add your handling code here:
    }//GEN-LAST:event_btnSucheFachActionPerformed

    private void btnSucheAusbilderActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnSucheAusbilderActionPerformed
        // TODO add your handling code here:
    }//GEN-LAST:event_btnSucheAusbilderActionPerformed

  

    // Variables declaration - do not modify//GEN-BEGIN:variables
    protected javax.swing.JToolBar Toolbar;
    protected javax.swing.JButton btnHinzu;
    protected javax.swing.JButton btnLehrerSuchen;
    protected javax.swing.JButton btnLoeschen;
    protected javax.swing.JButton btnRefresh;
    protected javax.swing.JButton btnSave;
    protected javax.swing.JButton btnSucheAusbilder;
    protected javax.swing.JButton btnSucheAzubi;
    protected javax.swing.JButton btnSucheFach;
    protected javax.swing.JButton btnSucheKurs;
    protected javax.swing.JButton btnSuchenKlasse;
    protected javax.swing.JButton btnSuchenbetrieb;
    protected javax.swing.JComboBox cbAusbilderbetrieb;
    protected javax.swing.JComboBox cbBetrieb;
    protected javax.swing.JComboBox cbKlasse;
    protected javax.swing.JLabel jLabel1;
    protected javax.swing.JLabel jLabel10;
    protected javax.swing.JLabel jLabel11;
    protected javax.swing.JLabel jLabel12;
    protected javax.swing.JLabel jLabel13;
    protected javax.swing.JLabel jLabel14;
    protected javax.swing.JLabel jLabel16;
    protected javax.swing.JLabel jLabel2;
    protected javax.swing.JLabel jLabel3;
    protected javax.swing.JLabel jLabel4;
    protected javax.swing.JLabel jLabel5;
    protected javax.swing.JLabel jLabel6;
    protected javax.swing.JLabel jLabel7;
    protected javax.swing.JLabel jLabel8;
    protected javax.swing.JLabel jLabel9;
    protected javax.swing.JPanel jPanel1;
    protected javax.swing.JPanel jPanel2;
    protected javax.swing.JPanel jPanel3;
    protected javax.swing.JPanel jPanel4;
    protected javax.swing.JScrollPane jScrollPane1;
    protected javax.swing.JScrollPane jScrollPane2;
    protected javax.swing.JScrollPane jScrollPane3;
    protected javax.swing.JScrollPane jScrollPane4;
    protected javax.swing.JScrollPane jScrollPane5;
    protected javax.swing.JScrollPane jScrollPane6;
    protected javax.swing.JScrollPane jScrollPane7;
    protected javax.swing.JSplitPane jSplitPane1;
    protected javax.swing.JSplitPane jSplitPane2;
    protected javax.swing.JSplitPane jSplitPane3;
    protected javax.swing.JSplitPane jSplitPane4;
    protected javax.swing.JTextField jTextField1;
    protected javax.swing.JTextField jTextField3;
    protected javax.swing.JPanel pAzubi;
    protected javax.swing.JPanel pAzubi1;
    protected javax.swing.JPanel pBetrieb;
    protected javax.swing.JPanel pKlasse;
    protected javax.swing.JScrollPane spAusbilder;
    protected javax.swing.JSplitPane spAzubi;
    protected javax.swing.JSplitPane spBetrieb;
    protected javax.swing.JScrollPane spFach;
    protected javax.swing.JSplitPane spKlasse;
    protected javax.swing.JScrollPane spKurs;
    protected javax.swing.JScrollPane spLehrer;
    protected javax.swing.JScrollPane sptblbetrieb;
    protected javax.swing.JTabbedPane tbAnzeige;
    protected javax.swing.JTable tblAusbilder;
    protected javax.swing.JTable tblAzubi;
    protected javax.swing.JTable tblBetrieb;
    protected javax.swing.JTable tblFach;
    protected javax.swing.JTable tblKlasse;
    protected javax.swing.JTable tblKurs;
    protected javax.swing.JTable tblLehrer;
    protected javax.swing.JTextField txfAusbildername;
    protected javax.swing.JTextField txfAzubiname;
    protected javax.swing.JTextField txfBezeichnung;
    protected javax.swing.JTextField txfFachID;
    protected javax.swing.JTextField txfKlassenID;
    protected javax.swing.JTextField txfKlassenlehrer;
    protected javax.swing.JTextField txfKlassenname;
    protected javax.swing.JTextField txfLehrerID;
    protected javax.swing.JTextField txfLehrername;
    protected javax.swing.JTextField txfOrt;
    // End of variables declaration//GEN-END:variables

}
